package cn.iocoder.yudao.module.product.convert.skuofferpricerelation;

import cn.iocoder.yudao.module.product.controller.admin.skuofferpricerelation.vo.SkuOfferPriceRelationRespVO;
import cn.iocoder.yudao.module.product.controller.admin.skuofferpricerelation.vo.SkuOfferPriceRelationSaveReqVO;
import cn.iocoder.yudao.module.product.controller.admin.skustorerelation.vo.SkuStoreRelationSaveReqVO;
import cn.iocoder.yudao.module.product.dal.dataobject.skuofferpricerelation.SkuOfferPriceRelationDO;
import cn.iocoder.yudao.module.product.dal.dataobject.skustorerelation.SkuStoreRelationDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 商品 定价 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface SkuOfferPriceRelationConvert {

    SkuOfferPriceRelationConvert INSTANCE = Mappers.getMapper(SkuOfferPriceRelationConvert.class);

    SkuOfferPriceRelationRespVO convertVO(SkuOfferPriceRelationDO skuOfferPriceRelationDO);

    List<SkuOfferPriceRelationRespVO> convertVOList(List<SkuOfferPriceRelationDO> list);

    SkuOfferPriceRelationDO convertDO(SkuOfferPriceRelationSaveReqVO skuOfferPriceRelationSaveReqVO);

}
